package com.lzx.java.smack;

import java.util.Iterator;
import java.util.Map.Entry;
import java.util.Properties;

import org.jivesoftware.smack.XMPPConnection;

public class SmackMain {

	public static void main(String[] args) {
		XMPPConnection conn = new XMPPConnection("");
		System.out.println(conn);

		Properties properties = System.getProperties();
		Iterator<Entry<Object, Object>> i = properties.entrySet().iterator();
		while (i.hasNext()) {
			Entry<Object, Object> e = i.next();
			System.out.println(e.getKey() + ":" + e.getValue());

		}
	}

}
